package com.tencent.yumeko;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestHeader;

@FeignClient("RouterFrontend")
public interface RouterService {

    @GetMapping("/router/gray/rest")
    String restByUser(@RequestHeader("uid") int user);
}
